package com.example.app.data.bean.routeAccount

import com.example.app.data.bean.AccountCat
import com.example.app.data.bean.AccountTitle
import com.example.app.data.bean.routeAddAccount.AccountRelationPeople
import com.example.app.data.bean.routeAddAccount.UploadFile
import com.squareup.moshi.Json

data class AccountRecord(
    @Json var AccountType: Boolean, //收入或者支出类型 true 为收入 false 为支出
    @Json var CatId: String? = "", //记账类目id
    @Json var TitleId: String? = "", //记账标题id
    @Json var IconPath: String = "",//图标地址
    @Json var TitleName: String = "", //记账标题名称
    @Json var CreateAt: String = "", //创建日期
    @Json var UpdateAt: String? = null, //更新日期
    @Json var OrderNum: Int = 0, //排序序号
    @Json var CreatorId: String = "", //创建人id
    @Json var Place: String = "", //地点
    @Json var Remark: String = "", //备注
    @Json var Money: String = "", //金额
    @Json var _id: String = "",
    @Json var AccountRelationPeoples: List<AccountRelationPeople>? = null,
    @Json var Files: List<UploadFile>? = null,
    @Json var Cat: AccountCat? = null,
    @Json var Title: AccountTitle? = null,
)
